package cn.yangliu.operation.config;

import cn.yangliu.operation.entity.Operation;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 作者 杨柳
 * 创建时间 2017-09-07 20:10
 */
@ConfigurationProperties(prefix = "spring.operate")
public class OperationProperties {

    private Class<? extends Operation> entityClass=cn.yangliu.operation.entity.DefaultOperation.class;

    private int aopOrder=0;

    public Class<? extends Operation> getEntityClass() {
        return entityClass;
    }

    public void setEntityClass(Class<? extends Operation> entityClass) {
        this.entityClass = entityClass;
    }

    public int getAopOrder() {
        return aopOrder;
    }

    public void setAopOrder(int aopOrder) {
        this.aopOrder = aopOrder;
    }
}
